package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import com.mdd.common.validator.annotation.IDMust;

/**
 * 案件订单参数
 * @author LikeAdmin
 */
@Data
@ApiModel("案件订单更新参数")
public class LegalCaseOrderUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "")
    private Long id;

    @NotNull(message = "aId参数缺失")
    @ApiModelProperty(value = "")
    private Long aId;

    @NotNull(message = "caseId参数缺失")
    @ApiModelProperty(value = "")
    private Long caseId;

    @NotNull(message = "userId参数缺失")
    @ApiModelProperty(value = "")
    private Long userId;

    @NotNull(message = "outTradeNo参数缺失")
    @ApiModelProperty(value = "订单编号")
    private String outTradeNo;

    @NotNull(message = "type参数缺失")
    @ApiModelProperty(value = "1-律师支付 2-案件扫码支付")
    private Integer type;

    @NotNull(message = "payType参数缺失")
    @ApiModelProperty(value = "1-微信支付 2-余额支付 3-支付宝支付")
    private Integer payType;

    @NotNull(message = "amount参数缺失")
    @ApiModelProperty(value = "")
    private BigDecimal amount;

    @NotNull(message = "fyAmount参数缺失")
    @ApiModelProperty(value = "平台分佣收入")
    private BigDecimal fyAmount;

    @NotNull(message = "areasFyAmount参数缺失")
    @ApiModelProperty(value = "地区公司分佣收入")
    private BigDecimal areasFyAmount;

    @NotNull(message = "lawyerFyAmount参数缺失")
    @ApiModelProperty(value = "律师分佣收入")
    private BigDecimal lawyerFyAmount;

    @NotNull(message = "partnerFyAmount参数缺失")
    @ApiModelProperty(value = "合伙人分佣")
    private BigDecimal partnerFyAmount;

    @NotNull(message = "payTime参数缺失")
    @ApiModelProperty(value = "")
    private Long payTime;

    @NotNull(message = "status参数缺失")
    @ApiModelProperty(value = "1-已支付")
    private Integer status;

    @NotNull(message = "transactionId参数缺失")
    @ApiModelProperty(value = "")
    private String transactionId;

    @NotNull(message = "prepayId参数缺失")
    @ApiModelProperty(value = "")
    private String prepayId;

    @NotNull(message = "newlandTradeNo参数缺失")
    @ApiModelProperty(value = "")
    private String newlandTradeNo;

}
